<?php

return [
    'menu' => [
        'agent' => [
            'name' => '代理管理',
            'ico' => '&#xe726;',
            'sub' => [
                'index' => ['name' => '代理列表', 'uri' => '/agent/index', 'show' => true, 'method' => 'get'],  //index 方法名
                'agentlog' => ['name' => '代理收益记录', 'uri' => '/agent/agentlog', 'show' => false, 'method' => 'get'],  //index 方法名
                'agent_edit' => ['name' => '添加、编辑商户', 'uri' => '/agent/agent_edit', 'show' => false, 'method' => 'get|post'],
                'agentarea' => ['name' => '商户服务区域', 'uri' => '/agent/agentarea', 'show' => false, 'method' => 'get'],  //index 方法名
                'agentarea_edit' => ['name' => '服务区域编辑、管理', 'uri' => '/agent/agentarea_edit', 'show' => false, 'method' => 'get|post'],
                'agentarea_del' => ['name' => '服务区域删除', 'uri' => '/agent/agentarea_del', 'show' => false, 'method' => 'get|post'],
            ],
            'show' => true,
        ],
        'user' => [
            'name' => '会员管理',
            'ico' => '&#xe726;',
            'sub' => [
                'index' => ['name' => '会员列表', 'uri' => '/user/index', 'show' => true, 'method' => 'get'],  //index 方法名
                'coupon' => ['name' => '会员优惠券', 'uri' => '/user/coupon', 'show' => false, 'method' => 'get'],  //index 方法名
                'sendcoupon' => ['name' => '赠送优惠券', 'uri' => '/user/sendcoupon', 'show' => false, 'method' => 'get|post'],  //index 方法名
                'couponel' => ['name' => '作废优惠券', 'uri' => '/user/couponel', 'show' => false, 'method' => 'get|post'],  //index 方法名
                'user_level' => ['name' => '会员配置', 'uri' => '/user/user_level', 'show' => true, 'method' => 'get'],  //index 方法名
                'user_level_edit' => ['name' => '会员配置编辑', 'uri' => '/user/user_level_edit', 'show' => false, 'method' => 'get|post'],  //index 方法名
            ],
            'show' => true,
        ],
        'shop' => [
            'name' => '商家管理',
            'ico' => '&#xe726;',
            'sub' => [
                'shoplist' => ['name' => '商家列表', 'uri' => '/shop/shoplist', 'show' => true, 'method' => 'get'],  //index 方法名
                'users' => ['name' => '商家客户', 'uri' => '/shop/users', 'show' => false, 'method' => 'get'],  //index 方法名
                'businesslog' => ['name' => '商家收益记录', 'uri' => '/shop/businesslog', 'show' => false, 'method' => 'get'],  //index 方法名
                'shoplist_edit' => ['name' => '添加、编辑商户', 'uri' => '/shop/shoplist_edit', 'show' => false, 'method' => 'get|post'],
                'shoparea' => ['name' => '商户服务区域', 'uri' => '/shop/shoparea', 'show' => false, 'method' => 'get'],  //index 方法名
                'shoparea_edit' => ['name' => '服务区域编辑、管理', 'uri' => '/shop/shoparea_edit', 'show' => false, 'method' => 'get|post'],
                'shoparea_del' => ['name' => '服务区域删除', 'uri' => '/shop/shoparea_del', 'show' => false, 'method' => 'get|post'],
                'goodslist' => ['name' => '项目列表', 'uri' => '/shop/goodslist', 'show' => true, 'method' => 'get'],  //index 方法名
                'goodslist2' => ['name' => '商品列表', 'uri' => '/shop/goodslist2', 'show' => true, 'method' => 'get'],  //index 方法
                'goodslist_edit' => ['name' => '添加、编辑项目', 'uri' => '/shop/goodslist_edit', 'show' => false, 'method' => 'get|post'],
                'goodslist_edit2' => ['name' => '添加、编辑商品', 'uri' => '/shop/goodslist_edit2', 'show' => false, 'method' => 'get|post'],
                'goodslist_del' => ['name' => '删除商品', 'uri' => '/shop/goodslist_del', 'show' => false, 'method' => 'get|post'],
                'goodsspec_del' => ['name' => '删除商品规格', 'uri' => '/shop/goodsspec_del', 'show' => false, 'method' => 'get|post'],
                'compent' => ['name' => '评论列表', 'uri' => '/shop/compent', 'show' => false, 'method' => 'get'],  //index 方法名
                'compent_add' => ['name' => '添加评论', 'uri' => '/shop/compent_add', 'show' => false, 'method' => 'get|post'],  //index 方法名
                'people' => ['name' => '技工管理', 'uri' => '/shop/people', 'show' => true, 'method' => 'get'],  //index 方法名
                'people_buiness' => ['name' => '绑定|更换技工绑定商家', 'uri' => '/shop/people_buiness', 'show' => false, 'method' => 'get|post'],
                'people_edit' => ['name' => '技工信息编辑', 'uri' => '/shop/people_edit', 'show' => false, 'method' => 'get|post'],
                'peoplearea' => ['name' => '技工服务区域列表', 'uri' => '/shop/peoplearea', 'show' => false, 'method' => 'get'],  //index 方法名
                'peoplearea_edit' => ['name' => '添加、编辑技工服务区域', 'uri' => '/shop/peoplearea_edit', 'show' => false, 'method' => 'get|post'],
                'peoplearea_del' => ['name' => '删除技工服务区域', 'uri' => '/shop/peoplearea_del', 'show' => false, 'method' => 'get|post'],
                'peopleproject_edit' => ['name' => '项目管理', 'uri' => '/shop/peopleproject_edit', 'show' => false, 'method' => 'get|post'],
            ],
            'show' => true,
        ],

        'order' => [
            'name' => '订单管理',
            'ico' => '&#xe726;',
            'sub' => [
                'order' => ['name' => '待付款订单', 'uri' => '/order/order', 'show' => true, 'method' => 'get'],  //index 方法名
                'order2' => ['name' => '待服务订单', 'uri' => '/order/order2', 'show' => true, 'method' => 'get'],  //index 方法名
                'order3' => ['name' => '服务中订单', 'uri' => '/order/order3', 'show' => true, 'method' => 'get'],  //index 方法名
                'order4' => ['name' => '已完成订单', 'uri' => '/order/order4', 'show' => true, 'method' => 'get'],  //index 方法名
                'order5' => ['name' => '已取消订单', 'uri' => '/order/order5', 'show' => true, 'method' => 'get'],  //index 方法名
                'order6' => ['name' => '商家售后中订单', 'uri' => '/order/order6', 'show' => true, 'method' => 'get'],  //index 方法名
                'order7' => ['name' => '平台待自动退款订单', 'uri' => '/order/order7', 'show' => true, 'method' => 'get'],  //index 方法名
                'orderdetail' => ['name' => '订单详情', 'uri' => '/order/orderdetail', 'show' => false, 'method' => 'get|post'],
                'order_str' => ['name' => '订单取消、确认、售后操作', 'uri' => '/order/order_str', 'show' => false, 'method' => 'get|post'],
                'order_send' => ['name' => '订单发货、指派技师操作', 'uri' => '/order/order_send', 'show' => false, 'method' => 'get|post'],
            ],
            'show' => true,
        ],
        'system' => [
            'name' => '系统配置',
            'ico' => '&#xe726;',
            'sub' => [
                'banner' => ['name' => '轮播图管理', 'uri' => '/system/banner', 'show' => true, 'method' => 'get'],  //index 方法名
                'banner_edit' => ['name' => '轮播图编辑、管理', 'uri' => '/system/banner_edit', 'show' => false, 'method' => 'get|post'],
                'banner_del' => ['name' => '轮播图删除', 'uri' => '/system/banner_del', 'show' => false, 'method' => 'get|post'],
                'platclass' => ['name' => '平台类别', 'uri' => '/system/platclass', 'show' => true, 'method' => 'get'],  //index 方法名
                'platclass_edit' => ['name' => '类别编辑、管理', 'uri' => '/system/platclass_edit', 'show' => false, 'method' => 'get|post'],
                'platclass_del' => ['name' => '类别删除', 'uri' => '/system/platclass_del', 'show' => false, 'method' => 'get|post'],
                'convenclass' => ['name' => '便民服务类目', 'uri' => '/system/convenclass', 'show' => true, 'method' => 'get'],  //index 方法名
                'convenclass_edit' => ['name' => '便民类别编辑、管理', 'uri' => '/system/convenclass_edit', 'show' => false, 'method' => 'get|post'],
                'convenclass_del' => ['name' => '便民类别删除', 'uri' => '/system/convenclass_del', 'show' => false, 'method' => 'get|post'],
                'conven' => ['name' => '便民服务管理', 'uri' => '/system/conven', 'show' => true, 'method' => 'get'],  //index 方法名
                'conven_edit' => ['name' => '便民服务编辑、管理', 'uri' => '/system/conven_edit', 'show' => false, 'method' => 'get|post'],
                'conven_del' => ['name' => '便民服务删除', 'uri' => '/system/conven_del', 'show' => false, 'method' => 'get|post'],
                'platsons' => ['name' => '服务类型', 'uri' => '/system/platsons', 'show' => false, 'method' => 'get'],  //index 方法名
                'platsons_edit' => ['name' => '服务类型编辑、管理', 'uri' => '/system/platsons_edit', 'show' => false, 'method' => 'get|post'],
                'platsons_del' => ['name' => '服务类型删除', 'uri' => '/system/platsons_del', 'show' => false, 'method' => 'get|post'],
                'config' => ['name' => '系统配置信息', 'uri' => '/system/config', 'show' => true, 'method' => 'get'],  //index 方法名
                'config_edit' => ['name' => '系统配置信息编辑', 'uri' => '/system/config_edit', 'show' => false, 'method' => 'get|post'],
                'withdraw' => ['name' => '提现管理', 'uri' => '/system/withdraw', 'show' => true, 'method' => 'get'],  //index 方法名
                'withdraw_str' => ['name' => '提现驳回', 'uri' => '/system/withdraw_str', 'show' => false, 'method' => 'get|post'],
                'withdraw_str2' => ['name' => '提现通过', 'uri' => '/system/withdraw_str2', 'show' => false, 'method' => 'get|post'],
                'goodslist' => ['name' => '系统项目库', 'uri' => '/system/goodslist', 'show' => true, 'method' => 'get'],  //index 方法名
                'goodslist_edit' => ['name' => '录入系统项目', 'uri' => '/system/goodslist_edit', 'show' => false, 'method' => 'get|post'],
                'rebot' => ['name' => '订单库', 'uri' => '/system/rebot', 'show' => true, 'method' => 'get'],  //index 方法名
                'rebot_edit' => ['name' => '订单库编辑', 'uri' => '/system/rebot_edit', 'show' => false, 'method' => 'get|post'],
                'system_daoru' => ['name' => '导入商品', 'uri' => '/system/system_daoru', 'show' => false, 'method' => 'post'],  //index 方法名
            ],
            'show' => true,
        ],
        'admin' => [  /// controller名
            'name' => '系统管理',
            'ico' => '&#xe726;',
            'sub' => [
                'index' => ['name' => '管理员列表', 'uri' => '/admin/index', 'show' => true, 'method' => 'get'],  //index 方法名
                'input' => ['name' => '添加管理员', 'uri' => '/admin/input', 'show' => false, 'method' => 'get|post'],
                'del' => ['name' => '管理员删除', 'uri' => '/admin/del', 'show' => false, 'method' => 'get|post'],
                'login_log' => ['name' => '登录日志', 'uri' => '/admin/login_log', 'show' => true, 'method' => 'get']
            ],
            'show' => true,
        ],

    ]
];
